#version 430 
layout(location= 0) uniform mat4 MMatrix;

layout(location= 0) in vec4 pos;

out vec3 vPos;

void main()
{
	gl_Position = MMatrix*pos;

	//vPos = normalize(vec3(pos.xy, 120));
	//vPos = normalize(vec3(pos.xy, -120));
	//vPos = normalize(vec3(120, pos.y, -pos.x));
	//vPos = normalize(vec3(-120, pos.y, -pos.x));
	vPos = normalize(pos.xyz);

}
